.class Lcom/example/m6wmr/MainActivity$6;
.super Ljava/lang/Object;
.source "MainActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MainActivity;->setMainIconAdapter()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/MainActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MainActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    .line 542
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 6
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 548
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    # getter for: Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/MainActivity;->access$11(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/MainIconBean;

    .line 549
    .local v0, "bean":Lbean/MainIconBean;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    # getter for: Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/MainActivity;->access$11(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    if-eq p3, v3, :cond_4

    .line 551
    invoke-virtual {v0}, Lbean/MainIconBean;->getActivity()Ljava/lang/String;

    move-result-object v1

    .line 553
    .local v1, "checkAct":Ljava/lang/String;
    const-string v3, "checkAct-----------"

    invoke-static {v3, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 555
    const-string v3, "waimai"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 556
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 557
    .local v2, "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/WaimaiActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 558
    const-string v3, "address"

    iget-object v4, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    iget-object v4, v4, Lcom/example/m6wmr/MainActivity;->address:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 559
    const-string v3, "sendid"

    invoke-virtual {v0}, Lbean/MainIconBean;->getParam()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 560
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    .line 593
    .end local v1    # "checkAct":Ljava/lang/String;
    :goto_0
    return-void

    .line 561
    .end local v2    # "intent":Landroid/content/Intent;
    .restart local v1    # "checkAct":Ljava/lang/String;
    :cond_0
    const-string v3, "market"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 562
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 563
    .restart local v2    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/MarketActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 564
    const-string v3, "address"

    iget-object v4, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    iget-object v4, v4, Lcom/example/m6wmr/MainActivity;->address:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 565
    const-string v3, "sendid"

    invoke-virtual {v0}, Lbean/MainIconBean;->getParam()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 566
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 567
    .end local v2    # "intent":Landroid/content/Intent;
    :cond_1
    const-string v3, "shophui"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 568
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 569
    .restart local v2    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/inshopbuy/InShopBuyShopsActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 571
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 573
    .end local v2    # "intent":Landroid/content/Intent;
    :cond_2
    const-string v3, "lifehelp"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 575
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 576
    .restart local v2    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/LifelistActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 577
    const-string v3, "\u751f\u6d3b\u670d\u52a1"

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\u63a7\u5236\u5668\u540d\u79f0ID"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lbean/MainIconBean;->getParam()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 578
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 581
    .end local v2    # "intent":Landroid/content/Intent;
    :cond_3
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 582
    .restart local v2    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/WaimaiActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 583
    const-string v3, "address"

    iget-object v4, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    iget-object v4, v4, Lcom/example/m6wmr/MainActivity;->address:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 584
    const-string v3, "sendid"

    invoke-virtual {v0}, Lbean/MainIconBean;->getParam()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 585
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 589
    .end local v1    # "checkAct":Ljava/lang/String;
    .end local v2    # "intent":Landroid/content/Intent;
    :cond_4
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 590
    .restart local v2    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/WaimaiActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 591
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$6;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0
.end method
